package cn.hnevc.wangyu;

public class ExampleTest14 {
	public static void main(String[] args) {
		String string="String";
		String string1="Str";
		System.out.println(string.startsWith("Str"));
		System.out.println(string.endsWith("ng"));
		System.out.println(string.contains("tri"));
		System.out.println(string.isEmpty());
		System.out.println(string.equals(string1));
	}
}